<template>
    <div>
        <tr v-for="(item,index) in goodsArr"
          :key="index">
         <input type="number" v-model="item.count">
         {{item.goodsName}}
         <span v-show="item.count<=0">卖光了!!!</span>
        </tr>
    </div>
</template>

<script>
export default {
name:'Trs',
props:['goodsArr']
}
</script>

<style>

</style>